package dreamdancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// 亲密度活动

type DanceIntimacyAct struct {
	Id              int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	StartTime       int64          `json:"startTime" gorm:"column:start_time;type:bigint;default:0;not null;comment:开始时间"`
	EndTime         int64          `json:"endTime" gorm:"column:end_time;type:bigint;default:0;not null;comment:结束时间"`
	IntimacyScore   string         `json:"intimacyScore" gorm:"column:intimacy_score;type:text;not null;comment:亲密度分数"`
	IntimacyRewards string         `json:"intimacyRewards" gorm:"column:intimacy_rewards;type:text;not null;comment:礼物信息"`
	CreatedAt       time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt       time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt       gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
